﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShowOffice.aspx.cs" Inherits="website.ShowOffice" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <style type="text/css" media="screen"> 
			html, body	{ height:100%; }
			body { margin:0; padding:0; overflow:auto; }   
			#flashContent { display:none; }
        </style> 
    <script src="FlexPaper/js/flexpaper_flash.js"></script>
</head>
<body>
    <div style="position:absolute;left:10px;top:10px;">
	        <a id="viewerPlaceHolder" style="width:950px;height:580px;display:block"></a>
	        
	        <script type="text/javascript">
	            var fp = new FlexPaperViewer(
						 'FlexPaper/FlexPaperViewer',
						 'viewerPlaceHolder', {
						     config: {
						         SwfFile: escape('filefolder/flash/<%=Session["file"] %>'),
						         Scale: 0.6,
						         ZoomTransition: 'easeOut',
						         ZoomTime: 0.5,
						         ZoomInterval: 0.2,
						         FitPageOnLoad: true,
						         FitWidthOnLoad: false,
						         PrintEnabled: true,
						         FullScreenAsMaxWindow: false,
						         ProgressiveLoading: false,
						         MinZoomSize: 0.2,
						         MaxZoomSize: 5,
						         SearchMatchAll: false,
						         InitViewMode: 'Portrait',

						         ViewModeToolsVisible: true,
						         ZoomToolsVisible: true,
						         NavToolsVisible: true,
						         CursorToolsVisible: true,
						         SearchToolsVisible: true,

						         localeChain: 'en_US'//en_US
						     }
						 });
	        </script>
        </div>
</body>
</html>
